//
//  AboutViewComtroller.swift
//  test-ios
//
//  Created by wyz5204 on 2023/4/7.
//

import Foundation
import UIKit


class AboutViewController : MVVMBaseViewController<AboutViewModel> {
    
    private lazy var about = {
        return UILabel().then { view in
            view.text = "欢迎使用MVVM"
            view.textColor = .black
        }
    }()
    
    
    private lazy var tip = {
        return UILabel().then { view in
            view.text = "是否是您导航出现异常跳转"
            view.textColor = .red
        }
    }()
    
    override func initView(_ contentView: UIView) {
        about.addTo(contentView) { view in
            view.snp.makeConstraints { make in
                make.center.equalToSuperview()
            }
        }
        
        tip.addTo(contentView) { view in
            view.snp.makeConstraints { make in
                make.bottom.equalToSuperview()
                make.centerX.equalToSuperview()
            }
        }
        
    }
    
    override func bindViewModel(_ viewModel: AboutViewModel) {
        print(viewModel)
    }
}


class AboutViewModel : MVVMBaseViewModel {
    
}

